package com.youthfilmic.yuejian.dao;

import com.youthfilmic.yuejian.domain.Account;
import org.springframework.data.repository.CrudRepository;
import org.springframework.transaction.annotation.Transactional;

/**
 * Created by youweixi on 15/10/14.
 */
public interface AccountDao extends CrudRepository<Account , Long> {

    Account findByUserId(Long userId);

}
